<template>
    <div id="app">
        <div class="cover"></div>
        <Header></Header>
        <todo></todo>
        <Footer></Footer>
    </div>
</template>

<script>
import Header from './layout/header.vue'
import Footer from './layout/footer.jsx'
import Todo from './views/todo.vue'

export default {
    data() {
        return {
            text: '1asaa'
        }
    },
    components: {
        Header,
        Footer,
        Todo
    }
}
</script>

<style lang="stylus" scoped>
    #app
        top 0
        right 0
        bottom 0
        left 0
        position absolute
        .cover 
            top 0
            right 0
            bottom 0
            left 0
            position absolute
            background-color rgba(255, 255, 255, .4)   
            z-index -1

</style>